package com.clgc.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author lsr
 * @create 2021-04-17-16:52
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.clgc")//扫描进swagger测试组件
@EnableTransactionManagement
@EnableCaching
@EnableScheduling
public class EduServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduServiceApplication.class,args);

    }
}
